package zl.readcloud.service.front.Impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import zl.readcloud.controller.front.vo.ShelfVO;
import zl.readcloud.dao.ChapterDao;
import zl.readcloud.dao.ShelfDao;
import zl.readcloud.service.front.FrShelfService;

import java.util.List;

/**
 * @Author: ZhagnLei
 * @Date: 2022/3/7 9:41
 */
@Service
public class FrShelfServiceImpl implements FrShelfService {

    @Autowired
    private ShelfDao shelfDao;

    @Autowired
    private ChapterDao chapterDao;


    @Override
    public List<ShelfVO> getBookShelfList(int uAccount) {
        return shelfDao.getBookShelfList(uAccount);
    }

    @Override
    public String getEndChapterTitle(Integer bId) {
        return chapterDao.getEndChapterTitle(bId);
    }


}
